﻿using System;
using System.Runtime.Serialization;

namespace SlamDunk.MES.IAppService.DTOs.Inputs
{
    /// <summary>
    /// 采集记录参数模型
    /// </summary>
    [DataContract]
    public struct AcquisitionRecordParam
    {
        /// <summary>
        /// 采集时间
        /// </summary>
        [DataMember]
        public DateTime acquiredTime;

        /// <summary>
        /// 变量编号
        /// </summary>
        [DataMember]
        public string variableNo;

        /// <summary>
        /// 变量名称
        /// </summary>
        [DataMember]
        public string variableName;

        /// <summary>
        /// 变量值
        /// </summary>
        [DataMember]
        public decimal value;

        /// <summary>
        /// 单位
        /// </summary>
        [DataMember]
        public string unit;

        /// <summary>
        /// 设备编号
        /// </summary>
        [DataMember]
        public string equipmentNo;
    }
}
